package com.igor.reporting.pages.solver;

import org.apache.tapestry5.annotations.Property;
import org.apache.tapestry5.ioc.annotations.Inject;

import com.igor.reporting.dao.solver.SolverDAO;
import com.igor.reporting.entities.solver.Solver;

public class Add {

	@Inject
	private SolverDAO SolverDAO;
	@Property
	private Solver solver;

	Object onSuccess() {
		SolverDAO.add(solver);
		return Browse.class;
	}

}
